Welcome![Sign In][Sign Up]
Location:
Search - array class

Search list

[Windows DevelopJpegDecoder

Description: JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。-JpegDecoder class is mainly used for the decoding of Jpeg files. Usage is very simple, only need to use GetJPEGBuffer function returns an array of pixels decoded. In the third part of the instance of MagicHouse on the need to use this class.
Platform: | Size: 8192 | Author: 胡雪婷 | Hits:

[Software EngineeringHuWeiBianchengGuifanPeixunYulianxi

Description: 华为软件编程规范培训实例与练习 一、逻辑类代码问题 1、变量/指针在使用前就必须初始化 2、防止指针/数组操作越界... -Huawei software programming examples and exercises a standardized training, the logic class code problem 1, the variable/pointer must be initialized before use 2, to prevent the pointer/array of operating cross-border ...
Platform: | Size: 353280 | Author: newuserid | Hits:

[Linux-Unixtemplated_devices

Description: Solution for managing an array of devices ranged from 1 .. N and the array holding the devices ranged from 0 .. N-1. In this example we have a dictionary that receives string apply a hashing function on him that returns a class of indexes.
Platform: | Size: 2048 | Author: xadas | Hits:

[Windows DevelopAPI

Description: unit Unit1 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls type TForm1 = class(TForm) Button1: TButton Edit1: TEdit Button2: TButton procedure Button1Click(Sender: TObject) procedure Button2Click(Sender: TObject) private { Private declarations } public { Public declarations } end var Form1: TForm1 implementation {$R *.dfm} uses Registry, MMSystem, DDEMAN, ClipBRD procedure TForm1.Button1Click(Sender: TObject) var SerialNum:Dword a,b: Dword Buffer: array [0..255] of char Num:string begin GetVolumeInformation( C:\ , nil,0,@SerialNum,a,b,nil,0) Num:=IntToHex(HiWord(serialNum),4)+ -- + IntToHex(LoWord(SerialNum),4) Edit1.text:=(Num) end procedure TForm1.Button2Click(Sender: TObject) Var buffer:array [0..255] of char buffsize:Dword begin buffsize:=sizeOf(Buffer) GetUSERNAME(@buffer,buffsize) ShowMessage(buffer) end end. -unit Unit1 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls type TForm1 = class(TForm) Button1: TButton Edit1: TEdit Button2: TButton procedure Button1Click(Sender: TObject) procedure Button2Click(Sender: TObject) private { Private declarations } public { Public declarations } end var Form1: TForm1 implementation {$R*.dfm} uses Registry, MMSystem, DDEMAN, ClipBRD procedure TForm1.Button1Click(Sender: TObject) var SerialNum:Dword a,b: Dword Buffer: array [0..255] of char Num:string begin GetVolumeInformation( C:\ , nil,0,@SerialNum,a,b,nil,0) Num:=IntToHex(HiWord(serialNum),4)+--+ IntToHex(LoWord(SerialNum),4) Edit1.text:=(Num) end procedure TForm1.Button2Click(Sender: TObject) Var buffer:array [0..255] of char buffsize:Dword begin buffsize:=sizeOf(Buffer) GetUSERNAME(@buffer,buffsize) ShowMessage(buffer) end end.
Platform: | Size: 219136 | Author: delphi | Hits:

[WEB Codematriz

Description: Class to instantiate an object array and maninula it. Ex: tst_matriz.php
Platform: | Size: 2048 | Author: ManofeniX | Hits:

[OS programorder

Description: 用c++ 实现的用类的构造函数初始化数组,是一种新的思路,学习完后会对c++有新的认识-Using c++ implementation with the class constructor to initialize the array, is a new idea, learn c++ would have exhausted a new understanding of
Platform: | Size: 944128 | Author: jack | Hits:

[JSP/Javajavajiaoanlbo

Description: Java语言程序设计,郎波,清华大学出版社教案本书讲授了Java语言程序设计。书中在介绍Java语言的同时,更注重Java语言的知识体系,系统地分析了Java的核心机制与基本原理。全书分为核心基础篇与应用技术篇。在核心基础篇中,论述了面向对象程序设计的基本概念、Java语言基础(包括运算符与表达式、程序流控制、数组)、Java面向对象特性、异常处理方法、AWT与AWT事件处理模型、输入/输出、Applet概念与应用。应用技术篇介绍了开发Java的高级应用技术,包括多线程、网络编程、Swing、JDBC数据库连接、J2EE技术以及Java编程规范。书中还提供了大量实例。 本书具有系统性、知识性、实用性等特点,可以作为大专院校计算机、通信等专业教材,也可作为Java编程爱好者的参考书。-The Java language programming, the court attendant wave, Tsinghua University publishing house lesson plan this book has taught the Java language programming. In the book while introduced that the Java language, pays great attention the Java language the knowledge system, has analyzed the Java core systematically machine-made and the basic principle. The entire book divides into the core foundation and applied technology. In core foundation, elaborated the object-oriented programming basic concept, the Java language foundation (including operator and expression, procedure class control, array), the Java object-oriented characteristic, the exception handling method, AWT and the AWT event processing model, the input/output, the Applet concept and the application. Applied technology introduced develops Java the high-level applied technology, including multi-thread, network programming, Swing, JDBC database connection, J2EE technology as well as Java programming standard. In the book has al
Platform: | Size: 2577408 | Author: wu | Hits:

[assembly languagexuhanshu

Description: 利用虚函数手段,按照3种不同的计算方法来求出Fibonacci数列的第n项(的具体项值)并输出。具体地说,可通过在基类baseCla及其派生类fib1Cla、fib2Cla和fib3Cla中说明如下的同一个虚函数“virtual double fib(int n) ”,来实现求Fibonacci数列第n项值并返回的3种不同求解方法。例如,可设计并使用已经在第4和第5章的练习中所实现的求解方法:简单变量“数据平移”法、使用数组的实现法以及使用递归函数的实现法。-The use of virtual function means, in accordance with three kinds of different methods of calculation to find Fibonacci series, the first n items (specific items of value) and the output. Specifically, through the base class baseCla its derived classes fib1Cla, fib2Cla and fib3Cla described in the following virtual function with a " virtual double fib (int n) " , to achieve the first n order to Fibonacci sequence item value and return 3 different solutions are given. For example, can be designed and has been used in section 4 and Chapter 5 of the exercise achieved by solving method: simple variable " data translation" method, using an array implementation of law and the implementation method to use recursive functions.
Platform: | Size: 1024 | Author: lixuhui | Hits:

[Windows Develop12

Description: 实验目的:熟悉并使用模板 实验内容: (1)程序清单12.1 -#include <iostream.h> template <class T> T average(T *array, int size) { T sum = 0 for (int count = 0 count < size ++count) sum+= array[count] return(sum/size) }
Platform: | Size: 3072 | Author: huangzhiqiang | Hits:

[JSPlianliankan

Description: 连连看java源代码 import javax.swing.* import java.awt.* import java.awt.event.* public class lianliankan implements ActionListener { JFrame mainFrame //主面板 Container thisContainer JPanel centerPanel,southPanel,northPanel //子面板 JButton diamondsButton[][] = new JButton[6][5] //游戏按钮数组 JButton exitButton,resetButton,newlyButton //退出,重列,重新开始按钮 JLabel fractionLable=new JLabel("0") //分数标签 JButton firstButton,secondButton //分别记录两次被选中的按钮 int grid[][] = new int[8][7] //储存游戏按钮位置 static boolean pressInformation=false //判断是否有按钮被选中 int x0=0,y0=0,x=0,y=0,fristMsg=0,secondMsg=0,validateLV //游戏按-Lianliankan java source code import javax.swing .* import java.awt .* import java.awt.event .* public class lianliankan implements ActionListener (JFrame mainFrame // main panel Container thisContainer JPanel centerPanel, southPanel, northPanel // sub-panel JButton diamondsButton [] [] = new JButton [6] [5] // Game button array JButton exitButton, resetButton, newlyButton // exit, as restated, re-start button JLabel fractionLable = new JLabel ( " 0 " ) // Score label JButton firstButton, secondButton // each record twice been selected the button int grid [] [] = new int [8] [7] // Save Game button to place static boolean pressInformation = false // determine whether there is button is selected int x0 = 0, y0 = 0, x = 0, y = 0, fristMsg = 0, secondMsg = 0, validateLV // Game Press
Platform: | Size: 2048 | Author: sb | Hits:

[Software Engineeringjava

Description: java基础的PPT,包含源代码,对有关类.输入输出.界面设计.数组应用等作了详细介绍-java-based PPT, contains the source code for the class. input and output. interface design. array of applications are described in detail
Platform: | Size: 551936 | Author: 艾枫 | Hits:

[JSP/JavaMatrix

Description: Matrix类。该类包括矩阵行列数变量int rows和int cols,矩阵数据数组double data[][],构造方法Matrix()、Matrix(int rows,int cols)、Matrix(int rows,int cols,double data[][]),获取某元素值的方法getData(int row,int col),设置某元素值的方法setData(int row,int col,double value),计算两个矩阵的乘积的方法multiply(Matrix m)以及toString()等内容。-Matrix class. This class includes matrix, int rows, and the ranks of the number of variables int cols, matrix data array double data [][], constructor Matrix (), Matrix (int rows, int cols), Matrix (int rows, int cols, double data [] []), to obtain the value of an element methods getData (int row, int col), set the value of an element methods setData (int row, int col, double value), the calculation method of the product of two matrices multiply (Matrix m) as well as the toString () and so on.
Platform: | Size: 1024 | Author: 艾枫 | Hits:

[Data structsclass4-ctree

Description: 由一线性数组生成一个完全二叉树,使用类描述,有详细注释,完整的输入输出-By a linear array generates a complete binary tree, use the class descriptions, detailed notes, a complete input and output
Platform: | Size: 1024 | Author: wanglei | Hits:

[Special EffectsJpegDecoder

Description: JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。-JpegDecoder class is mainly used for the decoding of Jpeg files. Usage is very simple, only need to use GetJPEGBuffer function returns an array of pixels decoded.
Platform: | Size: 9216 | Author: min | Hits:

[OtherUnReg

Description: Sample class to implement read/write registrity. Represents values as array: MyIntVar := MyReg.IntVal[ Value 1 ] MyStrVar := MyReg.StrVal[ Value 2 ] -Sample class to implement read/write registrity. Represents values as array: MyIntVar := MyReg.IntVal[ Value 1 ] MyStrVar := MyReg.StrVal[ Value 2 ]
Platform: | Size: 1024 | Author: Uzzz | Hits:

[Process-ThreadclsProcess

Description: 进程操作的类,可以从进程名枚举进程PID,也可以从窗口标题查找,打开进程,读取长整型,写入长整型,读取字节数组,写入字节数组.压缩包内包含有一个破解示例,破解掉一个判断密码是否正确的程序(仅在内存中进行,不破坏原文件)-Process operations class, you can enumerate the process name from the process PID, you can search for the title from the window, open the process, read a long integer, write long integer, byte array to read, write byte array. Tarball sample contains a crack, break out a password to determine whether the correct procedure (only in memory, not a destruction of the original document)
Platform: | Size: 10240 | Author: 林勇辉 | Hits:

[Software Engineering3

Description: /编写一个程序,输入N个学生数据,包括学号、姓名、成绩,要求输出这些学生数据并计算平均分。 //要求: //设计一个学生类Stud,除了包括no(学号)、name(姓名)和deg(成绩)数据成员外,有两个静态变量 // sum和num,分别存放总分和人数,另有两个普通成员函数setdata()和disp(),分别用于给数据成 // 员赋值和输出数据成员的值,另有一个静态成员函数avg(),它用于计算平均分。在main()函数中 // 定义了一个对象数组用于存储输入的学生数据。-/ Write a program, enter N student data, including Student ID, name, accomplishments, these students require the output data and calculate the average.// Requirements:// design a class of students Stud, in addition, including no (Student ID), name (name), and deg (results) data members, there are two static variables// sum and num, respectively, the total score and the number of storage , and another two ordinary member functions setdata () and disp (), respectively, to the data used as// staff assignment and the members of the value of the output data, while a static member function avg (), it is used to calculate the average. In the main () function// define an array of objects used to store student data input.
Platform: | Size: 1024 | Author: 钟文 | Hits:

[Otherp03

Description: 1、编写并测试3×3矩阵转置函数,使用数组保存3×3矩阵 2、使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。 3.写一个程序,定义基类车Vehicle,有Run,Stop等成员函数,由它派生出2个派生类:(自行车类)、(汽车类),从Bbicyce 、Motoracar派生出Motorcycle(摩托车类),它们都有Run,Stop等成员函数。注意虚函数的作用。 -1, to prepare and test the 3 × 3 matrix transpose function, use the array to save 3 × 3 matrix 2, using dynamic memory allocation to re-generate dynamic array to complete the title, use the pointer to achieve the function function. 3. To write a program to define the base class Car Vehicle, with Run, Stop and other member functions, which it has derived two derived classes: (bicycle type), (car class), from Bbicyce, Motoracar derived Motorcycle (Motorcycle Class ), they have the Run, Stop and other member functions. Note that the role of virtual functions.
Platform: | Size: 1024 | Author: 月月 | Hits:

[Mathimatics-Numerical algorithmsbbeee

Description: 定义并实现一个整数集合类int_set,集合类中cur_size表明当前集合中有几个整数,集合中最多含max_size个整数,存放集合元素的数组是动态的。要求提供的方法有: (1)增加一个整数到集合中; (2)从集合中去掉一个元素; (3)判断一个元素是否在集合中; (4)重载<<运算法,输入集合;重载>>运算符输出集合; (5)分别实现集合的交、并、差运算。 -Defined and implemented a set of integers class int_set, a collection of classes cur_size indicate that the current collection there are several integers, set up to contain max_size integers and store the collection elements of the array is dynamic. Requested methods are: (1) Add a integer to set (2) remove an element from the collection (3) to determine whether an element in the collection (4) overload " " algorithm, enter the collection overloaded " " a collection of operator outputs (5), respectively to achieve cross-collection, and, poor operation.
Platform: | Size: 1024 | Author: 杨锋 | Hits:

[assembly languageArchive

Description: 编制一程序,要求键入一个班的学生成绩,并存放于50字的ERADE数组中,然后根据ERADE中的成绩,把学生名次填入50字的RANK数组中,再按学号顺序把名次从终端上显示出来-The preparation of a procedure that requires the type 1 class student achievement, and stored in 50-word ERADE array, and then ERADE in the performance of their students to fill in 50-word ranking RANK array, and then learn the order of the rankings from the terminal No. on display
Platform: | Size: 1024 | Author: ilsa | Hits:
« 1 2 ... 5 6 7 8 9 1011 12 13 14 15 ... 35 »

CodeBus www.codebus.net